#include <tsin/runtime/InputHandleWork.hpp>

#include <tsin/runtime/GameRuntime.hpp>

#include <tsin/input/Input.hpp>

using namespace tsin;

InputHandleWork::InputHandleWork()
{
}

InputHandleWork::~InputHandleWork()
{
}

void InputHandleWork::init(GameRuntime *runtime)
{
        this->input = &runtime->input;
}

int InputHandleWork::run()
{
        input->triggerEvents();
        return 0;
}
